﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PersonDomain
{
   public class PersonGroup
    {
        #region Properties
          [Display(Description = "Unique Identifire of persons group")]
        public int ID { get; set; }
          [Display(Description = "code of the person group")]
        public string Code { get; set; }
          [Display(Description = "Name of the person group")]
       [Required]
        public string Group { get; set; }
          [Display(Description = "Description of the person group")]
        public string Description { get; set; }
     
        public string Notes { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual ICollection<PersonGroup> Parents { get; set; }
        public virtual ICollection<PersonGroup> Children { get; set; }
        public virtual ICollection<Person> People { get; set; } 
        #endregion


    }
}
